﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BG_ChangePWD.aspx.cs" Inherits="BG_Manage_BG_ChangePWD" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="BG_CSS/Main.css" rel="stylesheet" type="text/css" />
    <title>修改密码</title>
</head>

<body>
    <form id="form1" runat="server">
        <div>
            <!-- 顶部栏-->
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="17" valign="top" background="BG_IMG/Main/mail_leftbg.gif">
                        <img src="BG_IMG/Main/left-top-right.gif" width="17" height="29" /></td>
                    <td valign="top" background="BG_IMG/Main/content-bg.gif">
                        <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
                            <tr>
                                <td height="31">
                                    <div class="titlebt">修改密码</div>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="16" valign="top" background="BG_IMG/Main/mail_rightbg.gif">
                        <img src="BG_IMG/Main/nav-right-bg.gif" width="16" height="29" /></td>
                </tr>
                <!-- 中部栏-->
                <tr>
                    <td valign="middle" background="BG_IMG/Main/mail_leftbg.gif" style="height: 19px">
                    </td>
                    <td valign="top" bgcolor="#F7F8F9" style="height: 19px">
                        <div align="center">
                            <asp:Label ID="smslabel" runat="server" Width="100%" Font-Size="Large" ForeColor="Red"></asp:Label>
                        </div>
                        <!--*********************************************************************************************-->
                        <div class="adminadd" style="text-align: center">
                            <table border="0" cellpadding="0" cellspacing="0" style="width: 80%">
                                <tr>
                                    <td style="background-color: #5d7b9d; height: 30px; color: white;" align="center" colspan="3">
                                        <strong>修改管理员密码</strong></td>
                                </tr>
                                <tr>
                                    <td style="width: 100px; height: 38px;" align="right">
                                        用 户 名：
                                    </td>
                                    <td style="width: 100px; font-size: larger; height: 38px;" align="center">
                                        <input id="txtUserName" type="text" readonly maxlength="100" name="txtUserName" runat="server" style="width: 200px" visible="true">
                                    </td>
                                    <td style="width: 100px; height: 38px;" align="center">
                                        <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*用户名禁止修改！" Width="200px"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 100px; height: 38px;" align="right">
                                        新 密 码：
                                    </td>
                                    <td style="width: 100px; font-size: larger; height: 38px;" align="center">
                                        <input id="txtPWD" type="password" maxlength="100" name="txtPWD" runat="server" style="width: 200px">
                                    </td>
                                    <td style="width: 100px; height: 38px;" align="center">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPWD"
                                            ErrorMessage="*请输入密码！" Width="200px"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtPWD"
                                            ErrorMessage="不能使用'和空格" ValidationExpression="[^' ]+" Width="200px"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 100px" align="right">
                                        确认密码：
                                    </td>
                                    <td style="width: 100px; font-size: larger;" align="center">
                                        <input id="txtPWDOK" type="password" maxlength="100" name="txtPWDOK" runat="server"
                                            style="width: 200px" />
                                    </td>
                                    <td style="width: 100px" align="center">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPWDOK"
                                            ErrorMessage="*请输入确认密码！" Width="200px"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtPWDOK"
                                            ErrorMessage="不能使用'和空格" ValidationExpression="[^' ]+" Width="200px"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="3">
                                        <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToCompare="txtPWD"
                                            ControlToValidate="txtPWDOK" Display="Dynamic" EnableClientScript="false" ErrorMessage="用户密码与确认密码不同<br>" Type="String" Width="200px"> 
                                        </asp:CompareValidator>&nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="3">
                                        <asp:Button ID="btnOK" runat="server" Text="· 确认修改 ·" OnClick="btnOK_Click" />&nbsp;&nbsp;
                                        <asp:Button ID="btnReset" runat="server" Text="· 重置 ·" OnClick="btnReset_Click" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                       <!--*********************************************************************************************-->

                    </td>
                    <td background="BG_IMG/Main/mail_rightbg.gif" style="height: 19px">
                    </td>
                </tr>
                <!-- 底部栏-->
                <tr>
                    <td valign="bottom" background="BG_IMG/Main/mail_leftbg.gif">
                        <img src="BG_IMG/Main/buttom_left2.gif" width="17" height="17" /></td>
                    <td background="BG_IMG/Main/buttom_bgs.gif">
                        <img src="BG_IMG/Main/buttom_bgs.gif" width="17" height="17" /></td>
                    <td valign="bottom" background="BG_IMG/Main/mail_rightbg.gif">
                        <img src="BG_IMG/Main/buttom_right2.gif" width="16" height="17" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
